package com.qf.cloud2203.service1.feign;

import com.qf.cloud2203.domain.vo.ResultVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("GENTOKEN")
public interface GettokenClient {

    @GetMapping("/redisvote/gettoken")
    public ResultVo getToken(@RequestParam("phone") String phone) throws Exception ;
}
